isolator function